package com.gege.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gege.model.Order;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 订单表 Mapper 接口
 * </p>
 *
 * @author xiaogege
 * @since 2021-05-21
 */
public interface OrderMapper extends BaseMapper<Order> {

    int updateOrderStatusByUserId(@Param("userId") Long userId, @Param("status") Byte status);
}
